//! px:get_all
use pavex::Response;
use pavex::cookie::RequestCookies;
use pavex::get;

#[get(path = "/")]
pub fn get_all(request_cookies: &RequestCookies) -> Response {
    let cookies_values: Vec<_> = match request_cookies.get_all("origin") {
        Some(cookies) => cookies.values().collect(),
        None => Vec::new(),
    };
    Response::ok() // px::skip
}
